sum = 0
for i in range(10):
    sum += i
    print(f"i={i}")
    print(f"sum={sum}")
print("end")
